package com.itheima.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.itheima.mapper.SetmealGroupMapper;
import com.itheima.pojo.SetmealGroup;
import com.itheima.service.SetmealGroupService;
import org.apache.dubbo.config.annotation.Service;

import java.util.List;

@Service
public class SetmealGroupServiceImpl extends ServiceImpl<SetmealGroupMapper, SetmealGroup> implements SetmealGroupService {


    @Override
    public List<SetmealGroup> findByGroupId(Long id) {
        return this.baseMapper.selectByGroupId(id);
    }
}
